package com.screen.screendisplay.entity.coal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 安全环保告警表
 * </p>
 *
 * @author xuesong
 * @since 2025-08-23
 */
@Getter
@Setter
@TableName("qt_dp_coal_safetyenv_alarm")
@ApiModel(value = "CoalSafetyenvAlarm对象", description = "安全环保告警表")
public class CoalSafetyenvAlarm implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "自增ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "年")
    @TableField("year")
    private Integer year;

    @ApiModelProperty(value = "月")
    @TableField("month")
    private Integer month;

    @ApiModelProperty(value = "告警类型：0：边坡告警，1：外运告警，2：库存告警")
    @TableField("alarm_type")
    private Integer alarmType;

    @ApiModelProperty(value = "告警单位编码")
    @TableField("unit_code")
    private String unitCode;

    @ApiModelProperty(value = "告警单位名称")
    @TableField("unit_name")
    private String unitName;

    @ApiModelProperty(value = "告警时间")
    @TableField("alarm_time")
    private Date alarmTime;

    @ApiModelProperty(value = "确认结果：0：未确认，1：已确认")
    @TableField("confirm_status")
    private Integer confirmStatus;

    @ApiModelProperty(value = "告警详细信息")
    @TableField("alarm_info")
    private String alarmInfo;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    @TableField("creator")
    private String creator;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private Date updateTime;

    @ApiModelProperty(value = "更新人")
    @TableField("updater")
    private String updater;
}
